import Layout from '@/layout'
export default {
  path: '/dispatch',
  component: Layout,
  redirect: '/dispatch/transportation',
  name: 'dispatch',
  meta: {
    title: '调度管理',
    icon: 'el-icon-s-data'
  },
  children: [
    {
      path: 'transportation',
      component: () => import('@/views/dispatch/transportation'),
      name: 'transportation',
      meta: { title: '运输任务管理' }
    },
    {
      path: 'lineroute',
      component: () => import('@/views/dispatch/lineroute'),
      name: 'lineroute',
      meta: { title: '线路管理' }
    },
    {
      path: 'collect',
      component: () => import('@/views/dispatch/collect'),
      name: 'collect',
      meta: { title: '取件作业管理' }
    },
    {
      path: 'delivery',
      component: () => import('@/views/dispatch/delivery'),
      name: 'delivery',
      meta: { title: '派件作业管理' }
    }
  ]
}
